
def set_transfer_group_any_connected():
  CPD1.SetDefaultTransferGroup({"AnyConnected": ACD1})

def set_timeouts():
  CPD1.SetCPDParameters({"call_wait_connected_timeout": 15,  "call_wait_in_queue_timeout":10, "call_wait_agent_connected_timeout":8})

def set_transfer_group_all():
  CPD1.SetDefaultTransferGroup({"VoiceTransfer": ACD1, "AMTransfer" : ACD1, "FaxTransfer": ACD1})

def set_call_transfer_type_one_step():
  CPD1.SetCPDParameters({"call_transfer_type": SDialerTransferType.OneStepTransfer})

def set_call_transfer_type_two_step():
  CPD1.SetCPDParameters({"call_transfer_type": SDialerTransferType.TwoStepTransfer})

def set_call_atr_no_type():
  CPD1.SetCPDParameters({"call_answer_type_recognition": SDialerAnswerTypeRecognition.NoTypeRecognition})

def set_call_atr_no_am():
  CPD1.SetCPDParameters({"call_answer_type_recognition": SDialerAnswerTypeRecognition.NoAMRecognition})

def set_call_atr_positive_am():
  CPD1.SetCPDParameters({"call_answer_type_recognition": SDialerAnswerTypeRecognition.PositiveAMRecognition})

def set_call_atr_full_positive_am():
  CPD1.SetCPDParameters({"call_answer_type_recognition": SDialerAnswerTypeRecognition.FullPositiveAMRecognition})

def set_call_atr_accurate_positive_am():
  CPD1.SetCPDParameters({"call_answer_type_recognition": SDialerAnswerTypeRecognition.AccuratePositiveAMRecognition})